import request from '@/utils/request'
import API from '../contants/api'

/**
 * 获取首页数据
 */
export const getHomeData = () => request(API.HOME_API)

/**
 * 获取更多推荐商品数据
 * @param start 下一页数据的起始索引
 */
export const getMoreProducts = start => request(API.HOME_API + '/feeds?start=' + start)
